package com.lmiot.xyclick.Util;

import android.content.Context;
import android.net.Uri;
import java.io.FileNotFoundException;

public class PathUtils {
    public static String getPath(Context context, Uri uri) {
        try {
            return write(context.getContentResolver().openInputStream(uri));
        } catch (FileNotFoundException e) {
            e.printStackTrace();
            return "";
        }
    }

    /* JADX WARNING: Failed to process nested try/catch */
    /* JADX WARNING: Missing exception handler attribute for start block: B:51:0x00a0 */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    private static String write(java.io.InputStream r5) {
        /*
        // Method dump skipped, instructions count: 182
        */
        throw new UnsupportedOperationException("Method not decompiled: com.lmiot.xyclick.Util.PathUtils.write(java.io.InputStream):java.lang.String");
    }
}
